package com.kandinfo.survey.weixin.service;

import com.kandinfo.survey.weixin.mongo.WxConfigure;

/**
 * 微信Access Token保存mongo用Service
 * 
 * @author Patrick Chenzp-TG
 */
public interface IWxMongoRelativeService {
	
	/**
	 * 添加或更新 WxConfigure
	 * 
	 * @param wxConfigure
	 * @return mongo实例
	 */
	WxConfigure save(WxConfigure wxConfigure);
	
	/**
	 * 查找
	 * @param appId
	 * @return
	 */
	WxConfigure findOne(String appId);
}
